package com.cysion.shell.net

import com.cysion.otbox.net.BaseCaller
import com.cysion.shell.resp.ErAddress
import com.cysion.shell.resp.base.Address
import com.cysion.shell.resp.base.CodeMsgResult
import com.cysion.shell.resp.base.StaResult
import retrofit2.http.GET

object TestCaller: BaseCaller<TestVm>("https://cysion-box-1257966290.cos.ap-beijing.myqcloud.com/json/",TestVm::class.java) {

}

interface TestVm {

    @GET("code_msg.json")
    suspend fun getCodeMsg(): CodeMsgResult<Address>
    @GET("errs.json")
    suspend fun getErrMsg(): ErAddress
    @GET("sta_msg.json")
    suspend fun getStaMsg():StaResult<Address>
}